---
title: bud.fs.dir
description: Ensure a directory exists
sidebar_label: dir
---

Ensures that directory on given path exists. If it doesn't exist it will be created.

## Usage

```typescript
await bud.fs.dir(`path/to/dir`)
```
